package com.example.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Notification {
    @TableId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long notificationId;

    private String title;

    private String image;

    private Integer notificationType;

    private String content;

    private LocalDateTime publishDate;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long publisherId;
}
